package cn.bone.auth.security.mapper;

import cn.bone.auth.security.bean.SysPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysPermissionMapper extends BaseMapper<SysPermission> {

    /*根据用户名查找权限*/
    List<SysPermission> listByUsername(@Param("username") String username);
}
